package com.falcon.service;

import com.falcon.domain.dos.MenuComponentDO;
import com.falcon.mvc.domain.BasePager;
import com.falcon.domain.req.MenuComponentQuery;
import com.falcon.domain.req.MenuComponentRequest;

import java.util.List;

public interface IMenuComponentService {

    Long save(MenuComponentRequest request);

    Boolean update(Long id, MenuComponentRequest request);

    Boolean deleteById(Long id);

    MenuComponentDO queryById(Long id);

    List<MenuComponentDO> queryList(MenuComponentQuery request);

    BasePager<MenuComponentDO> queryPager(MenuComponentQuery request);

    int batchDelete(List<Long> ids);

}

